package richbar.com.richbar.bean;

import com.common.base.BaseResult;

/**
 * Created by QiYang on 2018/12/19.
 */

public class AddCarResult extends BaseResult {

    /**
     * code : 200
     * msg : 请求成功,添加购物车成功
     * data : {"cart_id":"23","error":0}
     */

    private String msg;
    private DataEntity data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public static class DataEntity {
        /**
         * cart_id : 23
         * error : 0
         */

        private String cart_id;
        private int error;

        public String getCart_id() {
            return cart_id;
        }

        public void setCart_id(String cart_id) {
            this.cart_id = cart_id;
        }

        public int getError() {
            return error;
        }

        public void setError(int error) {
            this.error = error;
        }
    }
}
